<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <link href="../lib/metro.css" rel="stylesheet">

    <title>Test Info box - Metro UI :: Popular HTML, CSS and JS library</title>

</head>
<body class="m4-cloak">
<div class="container">
    <h1>Info box test page</h1>

    <div class="info-box" data-role="info-box" id="info-box" data-overlay-click-close="true">
        <span class="button square closer"></span>
        <div class="info-box-content">
            <h3>What is Lorem Ipsum?</h3>
            <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</p>
        </div>
    </div>

    <button class="button" onclick="Metro.getPlugin('#info-box', 'info-box').open()">Open InfoBox</button>
    <button class="button" onclick="
        var html_content = '<h3>What is Lorem Ipsum?</h3>' + '<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</p>';
        Metro.infobox.create(html_content, 'info');
    ">Create InfoBox</button>

</div>

<script src="../lib/metro.js"></script>
<script>
</script>
</body>
</html>
